package scau.cty.service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import scau.cty.dao.IGoodsMapper;
import scau.cty.entity.Goods;
import scau.cty.service.IGoodsService;

import java.util.List;

/**
 * Created by Sunlight on 2017/3/20.
 */
@Service
public class IGoodsServiceImpl extends AbstractBaseService<Goods> implements IGoodsService{
    @Autowired
    private IGoodsMapper iGoodsMapper;
    @Override
    public List<Goods> selectOrderBySaleAndClick(int limitSize, int pageSize) {
        return iGoodsMapper.selectOrderBySaleAndClick(limitSize,pageSize);
    }
}
